A little script that lets people update the .pot file without makefiles
authorKjartan Maraas <kmaraas@online.no>
Mon, 3 Jan 2000 23:55:33 +0000 (23:55 +0000)
committerKjartan Maraas <kmaraas@src.gnome.org>
Mon, 3 Jan 2000 23:55:33 +0000 (23:55 +0000)
2000-01-04  Kjartan Maraas  <kmaraas@online.no>

* update.sh: A little script that lets people
update the .pot file without makefiles etc.

po/ChangeLog
po/update.sh [new file with mode: 0755]

index f988d9fcc67b7f437a31bedb3c5ddb14ee02bab5..2a335959fb5ccc93fb4753aa881ee30066ab0590 100644 (file)
@@ -1,3 +1,8 @@
+2000-01-04  Kjartan Maraas  <kmaraas@online.no>
+
+       * update.sh: A little script that lets people
+       update the .pot file without makefiles etc.
+
 1999-12-23  Fatih Demir <kabalak@gmx.net>
 
        * tr.po: Added the Turkish translation , edited ../configure.in & makefile.cygwin .
diff --git a/po/update.sh b/po/update.sh
new file mode 100755 (executable)
index 0000000..265a42b
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+xgettext --default-domain=gtk+ --directory=.. \
+  --add-comments --keyword=_ --keyword=N_ \
+  --files-from=./POTFILES.in \
+&& test ! -f gtk+.po \
+   || ( rm -f ./gtk+.pot \
+    && mv gtk+.po ./gtk+.pot )